Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 25, 2013, 05:03:16 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5389
Members
Latest Member:
Sandradhernandez
Crystal Space
Crystal Space Development
Support
Is there a way to make meshes shadeless?
« previous
next »
Pages:
[
1
]
Author
Topic: Is there a way to make meshes shadeless? (Read 765 times)
Crystalfur
Newbie
Posts: 30
Is there a way to make meshes shadeless?
«
on:
August 12, 2010, 12:09:00 am »
Hullo,
I'm making a custom billboard mechanism using mesh quads. I'd like to avoid having to light each one individual. In Blender, there's a setting called 'shadeless' that makes the mesh not glaringly bright, but avoids any shadows or specularity, being uniform throughout.
I had a look in mesh->GetFlags().Set(CS_ENTITY...) but couldn't find anything other than CS_ENTITY_NOLIGHTING and that's good except then it's completely dark (obviously). I suppose I could use an ambient light, but I think that would affect the entire sector, and I don't want that.
Logged
res
Develazyoper
CS Developer
Full Member
Posts: 206
Re: Is there a way to make meshes shadeless?
«
Reply #1 on:
August 12, 2010, 03:55:35 am »
CS 1.4 or SVN trunk?
CS 1.4: set shader of type 'standard' to 'fullbright'
SVN trunk: Set the shader of type 'base' to 'lighting_fullbright', 'diffuse' to '*null'.
Logged
Crystalfur
Newbie
Posts: 30
Re: Is there a way to make meshes shadeless?
«
Reply #2 on:
August 13, 2010, 06:19:57 am »
!!!
Excellent.
You're the man, res.
You should be promoted to 6 monkey heads.
I'm on 1.4., but its good to know the trunk version too.
«
Last Edit: August 13, 2010, 06:21:28 am by Crystalfur
»
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...