|
A new release
|
|
06-18-2014, 10:11 PM
Post: #41
|
|||
|
|||
|
RE: A new release
I figured that much after porting the shader to be GLSL 4.2+ compliant to remap the texture units using the layout keyword. I've found the diffuse, normal and environment map.
I have some understanding of coding.. maybe I'll take a look when I've got some spare time. Would be neat to have a realtime preview in Wings too
|
|||
|
06-19-2014, 08:09 AM
Post: #42
|
|||
|
|||
|
RE: A new release
I would prefer if you modified the default shader, which I used for bump maps.
The current way the shaders work are an ugly hack and should be rewritten, sigh.. But in the mean time I would like a "uber shader" that handles everything possible, like I did with normal maps. But I GLSL 4.2+ is a little high for our users... more like GLSL 1.0 :-( But maybe we should change that.. |
|||
|
06-19-2014, 04:06 PM
Post: #43
|
|||
|
|||
|
RE: A new release
Would porting it to 4.2+ make wings require 4.2 compliant hardware across the board? or only for using "advanced" shader features?
4.2 is almost 3 years old, and while many probably still have hardware older than that, it'll only decrease over time. |
|||
|
06-20-2014, 04:06 PM
Post: #44
|
|||
|
|||
|
RE: A new release
@Nova
when you choose HELP / OpenGL Info ...you can see it is possible to check what the user is using. ...another option is to let the user choose what is supported from the hardware so, it is possible to program a support for some target hardware at the same time (support for old and new) |
|||
|
06-22-2014, 07:07 PM
(This post was last modified: 06-22-2014 07:08 PM by rattle.)
Post: #45
|
|||
|
|||
RE: A new release
![]() hemilight.vs Code: // $Id$hemilight.fs Code: // $Id$Okay, I've changed your shader so it takes specularity into account, which can be controlled by the shininess material property and spec color. In the fragment shader change LIGHT_COUNT to 1 or 2, it uses either one or two hardcoded lights. Somehow gl_FrontLightProduct[].ambient always appears as black... gl_FrontLightModelProduct.sceneColor has the ambient/emissive color in it though, so it should be fine as viewport shader. |
|||
|
06-26-2014, 06:17 AM
Post: #46
|
|||
|
|||
|
RE: A new release
That looks really neat!
|
|||
|
07-29-2014, 02:08 PM
Post: #47
|
|||
|
|||
|
RE: A new release
I have learned a lot from there information !!
|
|||
|
01-29-2015, 07:48 PM
Post: #48
|
|||
|
|||
|
RE: A new release
That's really looking great.
I think this is one of the most significant ways for me to learn wings3d. And I’m satisfied to be a member of this site. However I want to remark on some basic things. This website is really wonderful. Take a look on my site Kino3 |
|||
|
01-31-2015, 11:23 AM
Post: #49
|
|||
|
|||
|
RE: A new release
very nice
|
|||
|
08-06-2015, 07:32 AM
Post: #50
|
|||
|
|||
|
RE: A new release
undefined
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)




